package com.apiserver.swagger;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author feizhou
 * @Description 配置
 * @Date 下午 10:16 2019/10/14 0014
 * @Param 
 * @return 
 **/

@Component
@EnableAutoConfiguration
@EnableConfigurationProperties
@ConfigurationProperties(prefix="documentation.swagger")
//@EnableApolloConfig
public class SwaggerServicesConfig {


    List<SwaggerServices> swagger;

    public List<SwaggerServices> getServices() {

        return swagger;
    }

    public void setServices(List<SwaggerServices> swaggerResources) {

        this.swagger = swaggerResources;
    }


}
